<div class="content-box"><!-- Start Content Box -->
				
	<div class="content-box-header">
		
		<h3>Listado de Grupo</h3>
				
		<div class="clear"></div>
		
	</div> <!-- End .content-box-header -->
	
	<div class="content-box-content">
	
	<table class="list">
			
			<thead>
				<tr>

<!--				   <th><input class="check-all" type="checkbox" /></th>-->
				   <th>Id</th>
				   <th>Nombre del Grupo</th>
				   <th>Descripcion</th>
				   
				   <th>Acciones</th>

				</tr>
				
			</thead>
		 
			<tfoot>
				<tr>
					<td colspan="4">
						<!-- 
						<div class="bulk-actions align-left">
							<select name="dropdown">
								<option value="option1">Choose an action...</option>

								<option value="option2">Edit</option>
								<option value="option3">Delete</option>
							</select>
							<a class="button" href="#">Apply to selected</a>
						</div>
						-->
						<div class="bulk-actions align-right">
						<?php echo anchor("admin/users/group_add", "Añadir Grupo", 'class="button"'); ?>
						</div>
						
						<div class="clear"></div>
					</td>
				</tr>
			</tfoot>
		 
			<tbody>
			
			<?php if ($groups): ?>

				<?php foreach ($groups as $group): ?>
		
				<tr>
<!--					<td><input type="checkbox" /></td>-->
		
					<td><?php echo $group->id; ?></td>
		
					<td><a href="<?php echo site_url('admin/users/group_edit/' . $group->id); ?>"><?php echo $group->name; ?></a></td>
					<td><?php echo $group->description; ?></td>
		
					<td class="admin">
					<?php echo anchor('admin/users/group_edit/' . $group->id, '<img src="' . static_url("images/icons/pencil.png") .'" title="' . lang('edit') . '" border="0">'); ?> 
		
					<?php echo anchor('admin/users/group_delete/' . $group->id, '<img src="' . static_url("images/icons/cross.png") .'" title="' . lang('delete') . '" border="0">', array ('onClick' => "return confirm('" . lang('delete_confirmation') . "')")); ?>
					</td>
		
				</tr>
		
				<?php endforeach; ?>
		
			<?php else: ?>
		
				<tr>
		
				<td colspan="4">No existen Grupos</td>
		
				</tr>
		
			<?php endif; ?>
			
			</tbody>
			
		</table>
	
	
	</div>
	
</div>
	